<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo 'OpenShop安装程序 第3步/共3步 配置系统';?></title>
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/transport.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/draggable.js"></script>
<script type="text/javascript" src="js/setting.js"></script>
<script type="text/javascript">
var $_LANG = {};
<?php foreach($lang['js_languages'] as $key => $item): ?>
$_LANG["<?php echo $key;?>"] = "<?php echo $item;?>";
<?php endforeach; ?>
</script>
</head>
<body id="checking">
<?php include ROOT_PATH . 'install/templates/header.php';?>
<form id="js-setting">

<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td valign="top">
<div id="wrapper">

  <h3>数据库配置</h3>

<table width="450" class="list">
<tr>
    <td width="90" align="left">数据库主机：</td>
    <td align="left"><input type="text" name="js-db-host"  value="localhost" /></td>
</tr>
<tr>
    <td width="90" align="left">端口号：</td>
    <td align="left"><input type="text" name="js-db-port"  value="3306" /></td>
</tr>
<tr>
    <td width="90" align="left">用户名：</td>
    <td align="left"><input type="text" name="js-db-user"  value="root" /></td>
</tr>
<tr>
    <td width="90" align="left">密码：</td>
    <td align="left"><input type="password" name="js-db-pass"  value="" /></td>
</tr>
<tr>
    <td width="90" align="left">数据库名：</td>
    <td align="left"><input type="text" name="js-db-name"  value="" />
        <select name="js-db-list">
            <option>数据库列表</option>
        </select>
        <input type="button" name="js-go" class="button" value="搜" />
   </td>
</tr>
</table>
<div id="js-monitor" style="display:none;text-align:left;position:absolute;top:45%;left:35%;width:300px;z-index:1000;border:1px solid #000;">
    <h3 id="js-monitor-title">数据处理中...</h3>
    <div style="background:#fff;padding-bottom:20px;">
        <img id="js-monitor-loading" src='images/loading.gif' /><br /><br />
        <strong id="js-monitor-wait-please" style='color:blue;width:65%;float:left;margin-left:3px;'></strong>
        <span id="js-monitor-view-detail" style="color:gray;cursor:pointer;;float:right;margin-right:3px;"></span>
    </div>
    <iframe id="js-monitor-notice" src="templates/notice.htm" style="display:none;"></iframe>
    <img id="js-monitor-close" src='./images/close.gif' style="position:absolute;top:10px;right:10px;cursor:pointer;" />
</div>

<h3>其他</h3>
<table width="650" class="list">
<tr>
    <td width="90" align="left">文件服务器：</td>
    <td align="left"> 
    <input type="text" id="js-filesync-host" name="js-filesync-host" size="40" value="" /><span class="comment"> (例如 http://www.baison.com.cn/sources)</span>
    </td>
</tr>
<tr>
    <input type="hidden" class="p" name="js-system-lang" id="js-system-lang-zh_cn" value="zh_cn"/>
</tr>
<tr>
    <td align="left">
    <input type="hidden" name="js-timezones" id="js-timezones" value="PRC"/>
    </td>
</tr>
<tr>
    <td width="90" align="left"><?php echo '安装测试数据：';?></td>
    <td align="left"><input type="checkbox" class="p" name="js-install-demo" /> <span class="comment">(<?php echo '选择此项，将默认全选预选商品类型';?>)</span></td>
</tr>
<tr>
    <td align="center" colspan="2">
     </td>
</tr>
</table>

</div>
</td>
<td width="227" valign="top" background="images/install-step3-<?php echo $installer_lang;?>.gif">&nbsp;</td>
</tr>
<tr>
  <td><div id="install-btn"><input type="button" id="js-pre-step" class="button" value="<?php echo '上一步：' . '检测系统环境';?>" /> <input id="js-install-at-once" type="submit" class="button" value="<?php echo '立即安装';?>" /></div>
  </td><td></td>
</tr>
</table>
<div id="copyright">
    <div id="copyright-inside">

      <?php include ROOT_PATH . 'install/templates/copyright.php';?></div>
</div>
<input name="userinterface" type="hidden" value="<?php echo $userinterface; ?>" />
<input name="ucapi" type="hidden" value="<?php echo $ucapi; ?>" />
<input name="ucfounderpw" type="hidden" value="<?php echo $ucfounderpw; ?>" />
</form>
</body>
</html>